package day05work_a;

public class Lambda_test  {
    public static void main(String[] args) {
        useShowHandler(new ShowHandler() {
            @Override
            public void show() {
                System.out.println("hhh");
            }
        });

useShowHandler(()->{
            System.out.println("用Lambda调用show方法");
        });



}
public static void useShowHandler(ShowHandler s){
        s.show();
}



}
